import React from "react";
import Logic_chartVertical from "./Logic_chartVertical"
import Logic_chartYaxis from "./Logic_chartYaxis"

export default class A extends React.Component {
    constructor(props) {
        super(props);
        this.state = {}
    }

    render() {
        const {data,canvasWidth,dateArr,MAX_TOTAL_COUNT,planAverageCount,d_start,d_end} = this.props;
        return (
            <div className="scheduling_WorkshopChart">
                <div className="" ref="yyd_chart">
                    <Logic_chartVertical
                        data={data}  //data :: {"2017-05-12":xxx}
                        isSewing={true}  //是否展示于 Sewing 页面
                        dateArr={dateArr}   // ["2017-5-12"....]
                        MAX_TOTAL_COUNT={MAX_TOTAL_COUNT}
                        planAverageCount={planAverageCount}
                        d_start={d_start}
                        d_end={d_end}
                    />
                </div>
            </div>
        )
    }
}